<?php

declare(strict_types=1);
/**
 * This file is part of habo_new_media.
 *
 * @link     https://www.berlen.cn/
 * @contact  tech@berlen.cn
 * @license  http://gitlab.rehou.cn/habo/habo_new_media/-/blob/master/README.md
 */
namespace app\enum;

class AccountEnum
{
    /**
     * @var int 投放状态正常
     */
    public const PUTTING_STATUS_OK = 1;

    /**
     * @var int 停投
     */
    public const PUTTING_STATUS_STOP = 2;

    /**
     * @var int 账户类型-自营
     */
    public const ACCOUNT_TYPE_SELF = 1;

    /**
     * @var int 账户类型-客营
     */
    public const ACCOUNT_TYPE_CLIENT = 2;

    /**
     * @var int 账户类型-服务商
     */
    public const ACCOUNT_TYPE_PROVIDER = 3;

    /**
     * @var array 结算账户类型自收走
     */
    public const ACCOUNT_TYPE_STATEMENT = [
        self::ACCOUNT_TYPE_SELF => '自运营',
        self::ACCOUNT_TYPE_CLIENT => '收量',
        self::ACCOUNT_TYPE_PROVIDER => '自运营',
    ];

    /**
     * @var array 账户类型
     */
    public const ACCOUNT_TYPE_NAME = [
        self::ACCOUNT_TYPE_SELF => '自营',
        self::ACCOUNT_TYPE_CLIENT => '客营',
        self::ACCOUNT_TYPE_PROVIDER => '服务商',
    ];
}
